package com.jingdianjichi.application.convert;


import com.jingdianjichi.application.dto.AuthPermissionDTO;
import com.jingdianjichi.application.dto.AuthRoleDTO;
import com.jingdianjichi.application.dto.AuthRolePermissionDTO;
import com.jingdianjichi.auth.domain.entity.AuthPermissionBO;
import com.jingdianjichi.auth.domain.entity.AuthRoleBO;
import com.jingdianjichi.auth.domain.entity.AuthRolePermissionBO;
import com.jingdianjichi.auth.domain.entity.AuthUserBO;
import com.jingdianjichi.auth.entity.AuthUserDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;




/**
 * 标签dto的转换
 */
@Mapper
public interface AuthDTOConverter {
    AuthDTOConverter INSTANCE=Mappers.getMapper(AuthDTOConverter.class);
    AuthUserBO convertAuthUserDtoToBO(AuthUserDTO authUserDTO);
    AuthRoleBO convertAuthRoleDtoToBO(AuthRoleDTO authRoleDTO);
    AuthPermissionBO convertAuthPermissionDtoToBO(AuthPermissionDTO authPermissionDTO);
    AuthRolePermissionBO convertAuthRolePermissionDtoToBO(AuthRolePermissionDTO authRolePermissionDTO);

    AuthUserDTO convertAuthUserBOToDto(AuthUserBO authUserBO);
}
